﻿using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using System.Xml.Linq;
using websoniBO;

namespace websoni
{
    public partial class WebForm2 : System.Web.UI.Page
    {
        Gallery g = new Gallery();
        Like_image li = new Like_image();
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {
                DataTable dt = g.GetRecords(-99, Convert.ToInt64(Request["id"]), " ", " ", false, " and ");
                //DataTable dt1 = li.GetRecords(-99,Convert.ToInt64(dt.Rows[0]["gid"].ToString()), -99, false, " and ");
                DataList1.DataSource = dt;
                DataList1.DataBind();
                
                
                
            }

        }
    }
}
